package com.ruoyi.teaching.domain.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class PlatformCCourseOutlineNodeVO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "课程大纲id")
//    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "父id")
    private Integer parentId;

    @ApiModelProperty(value = "章节名/课时名")
    private String name;

    @ApiModelProperty(value = "课程文件")
    private String courseUrl;

    @ApiModelProperty(value = "所属课程id")
    private Integer courseId;

    @ApiModelProperty(value = "视频时长（单位秒）")
    private Integer videoDuration;

    @ApiModelProperty(value = "是否学习（0未学习，1已学习）")
    private Integer study;

    private List<PlatformCCourseOutlineNodeVO> children;

}
